﻿using ERP.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Services
{
    //public class BaseServices<T>:IBaseServices where T : class
    //{
    //    ERPDbContext db;

    //    public BaseServices(ERPDbContext db)
    //    {
    //        this.db = db;
    //    }

    //    public IQueryable<T> GetPage( Expression<Func<bool>>expression, int page = 1, int limit = 3) {

    //        try
    //        {

    //            var list = db.Set<T>();

                





    //        }
    //        catch (Exception)
    //        {
    //            throw;
    //        }
        
    //    }
    }

